﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DrawTools
{
    public partial class DrawWaterPropetiesForm : Form
    {
        public DrawWater WPropeties { get; set; }

        public DrawWaterPropetiesForm()
        {
            InitializeComponent();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            WPropeties.Cube = Convert.ToInt32(cubeTextBox.Text);
            this.DialogResult = DialogResult.OK;
        }

        private void DrawWaterPropetiesForm_Load(object sender, EventArgs e)
        {
            cubeTextBox.Text = WPropeties.Cube.ToString();
        }
    }
}
